{minimum_otp_vsn, "21.0"}.

{deps, [{jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}}]}.

{erl_opts, [warn_unused_vars,
            warn_shadow_vars,
            warn_unused_import,
            warn_obsolete_guard,
            debug_info,
            compressed %% for edge
           ]}.

{validate_app_modules, true}.

{xref_checks, [undefined_function_calls, undefined_functions,
               locals_not_used, deprecated_function_calls,
               warnings_as_errors, deprecated_functions
              ]}.

{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.

{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{dialyzer, []}.
{dialyzer_base_plt_apps, [kernel, stdlib, erts, sasl, ssl, syntax_tools, compiler, crypto, jiffy]}.

{profiles,
 [{test,
   [{plugins, [{coveralls, {git, "https://github.com/emqx/coveralls-erl", {branch, "github"}}}]},
    {deps, [{meck, "0.8.13"}, {proper, "1.3.0"}]},
    {erl_opts, [debug_info]}
   ]}
 ]}.
